Smartcat\Includes\Services\Posts\ImportTranslationsService S

Total Complexity 20
Dependencies 5
Dependents 0
Total lines 232
Lines of code 157
Logical lines of code 81
Comment lines 11
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
addPost()
S
51 3 27
updatePost()
S
53 3 24
mapTranslatedData()
S
52 2 25
import()
S
53 2 24
mapMetaData()
S
66 2 9
__construct()
S
74 1 5
mapElementorData()
S
66 1 9
findMetaData()
S
72 1 5
findElementorData()
S
72 1 5
mapBlocks()
S
67 1 8
findBlocks()
S
72 1 5
getValue()
S
68 1 7
handleCustomFields()
S
75 1 4